package com.cn.zy.ex.binTree;

/**
 * @author: zhangyi
 * @date: 2018/12/14 10:44
 * @description:
 */
public class BinTree {

    private Object data;
    private BinTree lChild;
    private BinTree rChild;

    public BinTree(Object data) {
        this.data = data;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public BinTree getlChild() {
        return lChild;
    }

    public void setlChild(BinTree lChild) {
        this.lChild = lChild;
    }

    public BinTree getrChild() {
        return rChild;
    }

    public void setrChild(BinTree rChild) {
        this.rChild = rChild;
    }
}
